const Mock = require('mockjs')

const data =Mock.mock({
    'list|10': [
        {
            'id': '@id',
            'name': '@cname',
            'price|10-100': 10,
            'age|1-10': 1
        }
    ]
})

module.exports = () => data